package cn.com.jenson.service.file.repository;

import cn.com.jenson.common.BasicRepository;
import cn.com.jenson.entity.file.File;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface FileRepository extends BasicRepository<File>, JpaRepository<File,Integer> {

    File findByMdKey(String mdKey);
    File findByMdKeyAndDeleted(String mdKey,Boolean deleted);
}
